package com.work.work.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.work.work.dto.TeamMemberDTO;
import com.work.work.entity.Team;
import java.util.List;

public interface TeamService extends IService<Team> {
    boolean createTeam(Team team);
    boolean updateTeam(Team team);
    Page<Team> getTeamList(Integer current, Integer size);
    List<Team> getAllTeams();
    List<TeamMemberDTO> getTeamMembers(Integer teamId);
}